﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucSite.ascx.cs" Inherits="Billing2.ucSite" %>
<%@ Register Src="~/Controls/ucHighlight.ascx" TagName="ucHighlight" TagPrefix="uc1" %>
<%@ Register Src="~/Controls/ucInProgress.ascx" TagName="ucInProgress" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:UpdatePanel runat="server" ID="updatePanel3">
    <ContentTemplate>
        <uc1:ucHighlight ID="ucHighlight1" runat="server" />
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="BtnSave" EventName="Click" />
    </Triggers>
</asp:UpdatePanel>
<asp:Panel ID="PanelDetails" runat="server">
    <table title="nTable" class="nTable">
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                Organization&nbsp; ID :
            </td>
            <td>
                <asp:DropDownList ID="ddlOrgIDName" runat="server" AutoPostBack="True">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                Site ID :
            </td>
            <td>
                <asp:TextBox ID="txtSiteID" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                Site Name :
            </td>
            <td>
                <asp:TextBox ID="txtSiteName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                Site Status :
            </td>
            <td>
                <asp:RadioButtonList ID="RListIsActive" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="True">Active</asp:ListItem>
                    <asp:ListItem Value="False">Non-Active</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="xPrimaryKey" runat="server" Value="0" />
    <asp:HiddenField ID="xDialogID" runat="server" Value="" />
    <asp:UpdatePanel ID="ActionPanel" runat="server">
        <ContentTemplate>
            <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click"
                Text="Save" />
            <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click"
                Text="Delete" />
            <asp:ConfirmButtonExtender ID="btnDelete_ConfirmButtonExtender" runat="server" ConfirmText="Are you sure want to delete?"
                TargetControlID="btnDelete">
            </asp:ConfirmButtonExtender>
            <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click"
                Text="Close" Visible="False" />
            <asp:Button ID="btnHideAdd" runat="server" Text="Hide" OnClientClick="closeDialog('#dialogAdd');closeDialog('#dialogEdit');return false;"
                OnClick="btnHideAdd_Click" Visible="False" />
            <asp:Timer ID="TimerCloseIt" runat="server" Enabled="False" Interval="1000" OnTick="TimerCloseIt_Tick">
            </asp:Timer>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="ActionPanel">
        <ProgressTemplate>
            <uc2:ucInProgress ID="ucInProgress" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <br />
    <br />
</asp:Panel>
